package com.mlnx.data.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * Created by amanda.shan on 2019/10/12.
 */
@Data
@ApiModel("血糖数据库存储对象")
public class SugarInfo {

    public static final String EMPTY_SUGAR_STATE = "1";
    public static final String AFTER_MEAL1_STATE = "2";
    public static final String AFTER_MEAL2_STATE = "3";
    public static final String AFTER_MEAL3_STATE = "4";
    public static final String All_STATE = "5";

    @ApiModelProperty("病人ID")
    private Integer patientId;
    @ApiModelProperty("设备ID")
    private String deviceId;
    @ApiModelProperty("测试结果")
    private String result;
    @ApiModelProperty("测试样本0: 血液1: 质控液")
    private String sample;
    @ApiModelProperty("测试标签 1 餐前 2 餐后 4 空腹，8 凌晨。")
    private String state;

    private Long time; //测试时间


}
